package file.model;

import java.io.InputStream;

/**
 * @Author: zou
 * @email: 704572528@qq.com
 * @Date: 2020/10/30 15:23
 */
public class FileTransferModel {

    private InputStream io;

    private FileModel fileModel;

    /**
     * 不是剪切
     */
    private Boolean isShear = false;


    public Boolean getShear() {
        return isShear;
    }

    public void setShear(Boolean shear) {
        isShear = shear;
    }

    public InputStream getIo() {
        return io;
    }

    public void setIo(InputStream io) {
        this.io = io;
    }

    public FileModel getFileModel() {
        return fileModel;
    }

    public void setFileModel(FileModel fileModel) {
        this.fileModel = fileModel;
    }

    public FileTransferModel(InputStream io, FileModel fileModel) {
        this.io = io;
        this.fileModel = fileModel;
    }
}
